<!DOCTYPE html>

<head>
    <title>A窗口</title>
</head>

<body style="background-color: blue;">
    <button onclick="openB()">新建B窗口</button>
</body>

</html>